[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FYL2X Y * Log2(X) Exception Flags: P
FYLOG2X
Logic: T1 . ST(1) * Log2(ST)
pop stack
ST . T1
FYL2X calculates Y * Log2(X). X comes from ST and Y from ST(1). This
instruction pops the stack and places Y * Log2(X) in the new ST.
Operands must be in the range 0 < X < ., -. < Y < +.. You can use
this formula to convert to other bases:
Log X
2
Log X = ------
n Log n
2
--------------------------------------------------------------------------
Operands Clocks Bytes Example
FYL2X 900-1100 3 FYL2X
--------------------------------------------------------------------------
See Also:
FYL2XP1
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson